package cn.moningxi.mapper;

import cn.moningxi.bean.CCollect;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CCollectMapper {

    List<CCollect> queryCcollect(String customerId);

    void saveCollect(Integer collectId);


    CCollect queryByCustomerIdAndGoodId(@Param("customerId") String customerId, @Param("goodsId") String goodsId);

    Integer addCCollcet(CCollect cCollect);

    Integer modifyIsCancle(CCollect cCollect);
}